package pers.xx.sbm.dao;

import org.springframework.stereotype.Repository;
import pers.xx.sbm.entity.DyAnswerPrimary;
import pers.xx.sbm.vo.ScoreVo;
import pers.xx.sbm.vo.ScoreVoWrapper;

import java.util.HashMap;
import java.util.List;

@Repository
public interface DyAnswerPrimaryMapper {

    int insert(DyAnswerPrimary record);

    int insertSelective(DyAnswerPrimary record);

    List<HashMap<String, String>> getAnswerPrimaryList();

    int updateBatch(List<ScoreVo> score, String testNumber);

    int updateBatch2(List<ScoreVoWrapper> score);
}